﻿@using layoutRes = FlashCards.WebApp.Resources.LayoutResources
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.8.2.min.js")" type="text/javascript"></script>

    <link href="@Url.Content("~/Content/themes/start/jquery-ui-1.8.16.custom.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Scripts/prettify-small-1-Jun-2011/google-code-prettify/prettify.css")" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.16.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Highcharts-2.2.1/js/highcharts.src.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/core.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/prettify-small-1-Jun-2011/google-code-prettify/prettify.js")" type="text/javascript"></script>


</head>
<body>
    <div id="wrap">
        <div id="page">
            <div id="header">
                <div id="title">
                    <h1>
                        @layoutRes.Layout_Application_Name</h1>
                </div>
                <div id="logindisplay">
                    @Html.Partial("_LogOnPartial")
                </div>
                <div id="menucontainer">
                    <ul id="menu">
                        <li>@Html.ActionLink(layoutRes.Layout_Navigation_Home, "Index", "Home")</li>
                        <li>@Html.ActionLink(layoutRes.Layout_Navigation_Groups, "Index", "Groups")</li>
                        <li>@Html.ActionLink(layoutRes.Layout_Navigation_Friends, "Index", "Friends")</li>
                        <li>@Html.ActionLink(layoutRes.Layout_Navigation_Flashcards, "Index", "Flashcards")</li>
                        @if (User.IsInRole("Admin"))
                        {
                            <li>@Html.ActionLink(layoutRes.Layout_Navigation_Admin, "Index", "Admin")</li>
                            <li>@Html.ActionLink("Wykresy", "Index", "TestChart")</li>
                        }
                    </ul>
                </div>
            </div>
            <div id="main">
                @RenderBody()
            </div>
        </div>
    </div>
    <div id="footer">
        <hr />
        Flashcards 2012
    </div>
</body>
</html>
